<template>
  <CommonPage
    :scroll-props="{ pulldownEnabled: false, pullupEnabled: false }"
    :scroll="false"
    custom-class="test-page"
  >
    <div class="test-page__content">
      <web-view
        src="https://www.hicc.info/survey/render/RDPyIwwk?t=1747069057907"
      />
    </div>
  </CommonPage>
</template>

<script setup lang="ts">
import CommonPage from "@/components/common-page/index.vue";
import { useTabBarSelected } from "@/hooks/useTabBarSelected";
import { useDidShow } from "@tarojs/taro";
defineOptions({
  name: "test-page",
});

const { setSelectIndex } = useTabBarSelected();
useDidShow(() => {
  setSelectIndex(2);
});
</script>

<style lang="less">
.test-page {
  &__content {
    width: 100%;
    height: 200px;
    overflow: hidden;
    // overflow-y: auto;
    // background-color: red;
  }
}
</style>
